# -*- coding:utf-8 -*-

from pydantic import BaseModel
from fastapi import Depends, Request, HTTPException, status

from core.exceptions import ServiceException

from utils.password import password_hash, virify_password
from utils.dependence import PageFilter

from crud.role import RoleDao
from services.base import BaseService
from schemas.role import Role


class RoleService(BaseService):
    def __init__(self, dao = Depends(RoleDao)):
        self.dao = dao
        self.SCHEMA = Role
